package com.atguigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：HB
 * @date ：Created in 2020/10/29 10:04
 * @description：
 */

@Controller
@RequestMapping("a")
public class UserController {

    /**
     * 测试返回值是String
     * 测试：
     *
     * @return
     */
    @RequestMapping("/b")
    public String hello() {
        return "success";
    }

}
